package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 数据统计对象 tourism_statistics
 *
 * @author gqd
 * @date 2021-02-03
 */
public class TourismStatistics extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer id;

    /** 时间段id */
    @Excel(name = "时间段id")
    private Integer appointId;

    /** 预约日期 */
    @Excel(name = "预约日期")
    private String stateTimes;

    /** 预约人数 */
    @Excel(name = "预约人数")
    private Integer peopleSums;

    /** 剩余人数 */
    @Excel(name = "剩余人数")
    private Integer surplusSums;

    private String startTime;
    private String endTimes;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getAppointId() {
        return appointId;
    }

    public void setAppointId(Integer appointId) {
        this.appointId = appointId;
    }

    public Integer getSurplusSums() {
        return surplusSums;
    }

    public void setSurplusSums(Integer surplusSums) {
        this.surplusSums = surplusSums;
    }

    public void setStateTimes(String stateTimes)
    {
        this.stateTimes = stateTimes;
    }
    public String getStateTimes()
    {
        return stateTimes;
    }

    public Integer getPeopleSums() {
        return peopleSums;
    }

    public void setPeopleSums(Integer peopleSums) {
        this.peopleSums = peopleSums;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTimes() {
        return endTimes;
    }

    public void setEndTimes(String endTimes) {
        this.endTimes = endTimes;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("appointId", getAppointId())
            .append("stateTimes", getStateTimes())
            .append("peopleSums", getPeopleSums())
            .append("surplusSums", getSurplusSums())
            .append("createTime", getCreateTime())
                .append("startTime", getStartTime())
                .append("endTimes", getEndTimes())
            .toString();
    }
}
